# Contributor: Sodface <sod@sodface.com>
# Maintainer: Sodface <sod@sodface.com>
pkgname=tio
pkgver=2.7
pkgrel=0
pkgdesc="Simple TTY Terminal I/O Application"
url="https://github.com/tio/tio"
arch="all"
license="GPL-2.0-or-later"
makedepends="
	bash-completion-dev
	inih-dev
	linux-headers
	meson
	"
options="!check" # no test suite
subpackages="$pkgname-doc $pkgname-bash-completion"
source="https://github.com/tio/tio/releases/download/v$pkgver/tio-$pkgver.tar.xz"

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
e5e7d32c59693cc95c1af8f909f869868dc361e5add9d184df188d73fb1dd01b5a431aa150a43861e477ebca8d4dc31ae6d7a25f54e63c48c6f13fbb5c8bbb7b  tio-2.7.tar.xz
"
